package org.ljy.lotterysystem.controller.result;

import lombok.Data;
import org.ljy.lotterysystem.dao.dataobject.PrizeDO;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

@Data
public class FindPrizeListResult implements Serializable {

    /**
     * 奖品总数
     */
    private Integer total;

    private List<PrizeInfo> records;


    @Data
    public static class PrizeInfo implements Serializable{
        private Long prizeId;
        private String prizeName;
        private String description;
        private BigDecimal price;
        private String imageUrl;
    }
}
